package cn.iocoder.yudao.module.team.controller.admin.ledger.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 报账管理 Response VO")
@Data
@ExcelIgnoreUnannotated
public class LedgerRespVO {

    @Schema(description = "账本id", requiredMode = Schema.RequiredMode.REQUIRED, example = "4928")
    @ExcelProperty("账本id")
    private Integer id;

    @Schema(description = "报账时间")
    @ExcelProperty("报账时间")
    private LocalDateTime enterDate;

    @Schema(description = "报账人", example = "李四")
    @ExcelProperty("报账人")
    private String enterName;

    @Schema(description = "报账人电话")
    @ExcelProperty("报账人电话")
    private String enterPhone;

    @Schema(description = "类型", example = "2")
    @ExcelProperty(value = "类型", converter = DictConvert.class)
    @DictFormat("team_ledger_type") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String type;

    @Schema(description = "商品名称", example = "王五")
    @ExcelProperty("商品名称")
    private String productName;

    @Schema(description = "单价", example = "13248")
    @ExcelProperty("单价")
    private Integer unitPrice;

    @Schema(description = "报账金额,单位为分")
    @ExcelProperty("报账金额,单位为分")
    private Integer money;

    @Schema(description = "审核状态", example = "1")
    @ExcelProperty(value = "审核状态", converter = DictConvert.class)
    @DictFormat("team_ledger_approval_status") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String approvalStatus;

    @Schema(description = "审核人", example = "赵六")
    @ExcelProperty("审核人")
    private String approvalName;

    @Schema(description = "审核备注")
    @ExcelProperty("审核备注")
    private String approvalRemarks;

    @Schema(description = "报账图片", example = "https://www.iocoder.cn")
    @ExcelProperty("报账图片")
    private String url;

    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remarks;

    @Schema(description = "自定义")
    @ExcelProperty("自定义")
    private String column1;

    @Schema(description = "自定义")
    @ExcelProperty("自定义")
    private String column2;

    @Schema(description = "自定义")
    @ExcelProperty("自定义")
    private String column3;

    @Schema(description = "自定义")
    @ExcelProperty("自定义")
    private String column4;

    @Schema(description = "自定义")
    @ExcelProperty("自定义")
    private String column5;

    @Schema(description = "自定义")
    @ExcelProperty("自定义")
    private String column6;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}